package net.wanho.zx.zx_cms.service;


import net.wanho.zx.pojo.cms.CmsTemplate;
import net.wanho.zx.zx_cms.dao.CmsTempleteRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CmsTempleteService {


    @Resource
    CmsTempleteRepository cmsTempleteRepository;

    public List<CmsTemplate> query(){
        return cmsTempleteRepository.findAll();
    }
}
